package com.hxl.tech.gateway.auth.dto.application;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 应用授权信息 DTO 
 * @author soliddq
 * @date 2023-10-16
 */
@Data
public class ApplicationOauthDTO {

    @ApiModelProperty(value = "应用ID")
    private String appId;

    @ApiModelProperty(value = "商户号")
    private String merchantCode;

    @ApiModelProperty(value = "范围")
    private String scope;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "过期时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime expiresTime;

    @ApiModelProperty(value = "最近更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

}
